/*
 * $Id: chrono.h,v 1.4 2010/03/30 18:19:37 fabio Exp $
 */

#include <gtk/gtk.h>

typedef enum {
	CHR_RESET,
	CHR_LAP,
	CHR_START_STOP,
	CHR_POLL,
	CHR_RUNNING
} chr_command_t;

int chrono(chr_command_t command, gpointer data);
char *print_time(struct timeval tv);
void chronometer(gpointer data);
